import { http } from '@/utils/request'
import type { MenuType } from '@/views/admin/system/menu/utils/model'

/**
 * 获取动态路由
 */
export const getAsyncRoutesAPI = () => {
  return http.request<MenuType[]>('get', '/sys_menu/managementRouter')
}
